<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录密码</title>
<link rel="stylesheet" href="${cxt }/css/yk_base.css" />
<link rel="stylesheet" href="${cxt }/css/yk_myCenter_message.css" />
<link rel="stylesheet" href="${cxt }/css/yk_myCenter_loginpwd.css" />
<script type="text/javascript" src="${cxt }/js/jquery-3.2.1.js"></script>
<script type="text/javascript">
	function update(){ 
		var oldps = $("#oldpasswordS").val();
		$("input[name=oldps]").val(oldps);
		var newps = $("#newpasswordS").val();
		$("input[name=newps]").val(newps);
		var pwda = $("#passwordAgains").val();
		$("input[name=pwda]").val(pwda);
		$("#password").submit();
	} 
</script>
</head>
<body>
	<form action="${cxt }/userview/myCenter/loginpwd" method="post" id="password">
	<div style="width: 100%;background: #F2F3F5;">
			<div class="loginpwd">
				<div class="zc_ipttitle_bd">
					<h2>修改密码</h2>
					<div id="modifyPassword">
						<ul>
							<li>
								<label class="fl">原密码</label>
								<span class="fl">
									<input class="zc-ipt ipt-passwordS" type="text" id="oldpasswordS" placeholder="请输入原来密码"/>
									<input type="hidden" name="oldps">
								</span>
								<div class="fr">核对身份后，才可修改密码</div>
								<div class="fr"></div>
							</li>
							<li>
								<label class="fl">新密码</label>
								<span class="fl">
									<input class="zc-ipt ipt-passwordS" type="password" id="newpasswordS" placeholder="建议6-18为数字、字母、符号的组合密码"/>
									<input type="hidden" name="newps">
								</span>
								<div class="zc-safepsw zc-safepsw_0 fl">
									<span class="safe_1">弱</span>
									<span class="safe_2">中</span>
									<span class="safe_3">强</span>
								</div>
								<div class="fr">请牢记密码</div>
								<div class="cl"></div>
							</li>
							<li>
								<label class="fl">确认密码</label>
								<span class="fl">
									<input class="zc-ipt ipt-passwordS" type="password" id="passwordAgains" placeholder="再次输入密码" />
									<input type="hidden" name="pwda">
								</span>
								<div class="fr">再次输入密码</div>
							</li>
						</ul>
						<div class="graybutbox">
							<input class="zc_orange_bigsub" id="zcsave" onclick="update()" value="保存">
							${password}
							${password1}
							${password2}
							${password3}
							${password4}
							${password5}
						</div>
					</div>
				</div>
			</div>
		</div>
	</form>
</body>
</html>